package com.xbongbong.pro.purchaseinvoice.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
 *  进项发票作废或还原的pojo
 * @version v1.0
 * @date 2019/11/18 14:02
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class PurchaseInvoiceCancelOrRestorePojo {
    /**
     * 采购合同idlist
     */
    private List<Long> purchaseIdList;
    /**
     * 付款计划idList
     */
    private List<Long> payPlanIdList;
    /**
     * 付款单idList
     */
    private List<Long> paySheetIdList;
    /**
     * 采购合同的开票map
     */
    private Map<Long,Double> purchaseMap;
    /**
     * 付款计划开票map
     */
    private Map<Long, Double> payPlanRefMap;
    /**
     * 付款单开票map
     */
    private Map<Long, Double> paySheetRefMap;

    public PurchaseInvoiceCancelOrRestorePojo(List<Long> purchaseIdList, List<Long> payPlanIdList, List<Long> paySheetIdList, Map<Long, Double> purchaseMap, Map<Long, Double> payPlanRefMap, Map<Long, Double> paySheetRefMap) {
        this.purchaseIdList = purchaseIdList;
        this.payPlanIdList = payPlanIdList;
        this.paySheetIdList = paySheetIdList;
        this.purchaseMap = purchaseMap;
        this.payPlanRefMap = payPlanRefMap;
        this.paySheetRefMap = paySheetRefMap;
    }
}
